-- GENERATED SPELL FOR [Shattered Hand Grenadier] --


function spell0_19295(pUnit, Event) --@Soul Burden,n/a--
pUnit:FullCastSpellOnTarget(38879,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19295', 608, 1)
end

function spell1_19295(pUnit, Event) --@Throw Dynamite,n/a--
pUnit:FullCastSpellOnTarget(7978,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19295', 1000, 1)
end

function Sorts_19295(pUnit, Event)
local choix_sorts_19295 = math.random(0, 1)
if choix_sorts_19295 == 0 then
pUnit:RegisterEvent('spell0_19295', 1, 1)
end
if choix_sorts_19295 == 1 then
pUnit:RegisterEvent('spell1_19295', 1, 1)
end
end

function mob19295_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19295', math.random(1500, 3000), 1)
end

function mob19295_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19295_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19295_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19295, 1, 'mob19295_Action')
RegisterUnitEvent(19295, 2, 'mob19295_Leave')
RegisterUnitEvent(19295, 3, 'mob19295_Kill')
RegisterUnitEvent(19295, 4, 'mob19295_Die')
